package com.comment.mapper;

import com.comment.domain.Comments;
import com.comment.domain.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsMapper {


    List<Goods> selectAllGoodsAndComments();


    String selectName(Integer gId);

    Integer selectIdbyName(String name);
}